#!/bin/bash -e

test_dir=$1
if [[ ${test_dir} == "" ]];then
	echo "empty args, test_dir default set: $GOPATH/src/gitee.com/kwbasedb/kwbase/pkg/sql/failpoint"
	test_dir=$GOPATH/src/gitee.com/kwbasedb/kwbase/pkg/sql/failpoint
fi
failpoint_bin=$GOPATH/src/gitee.com/kwbasedb/kwbase/vendor/github.com/pingcap/failpoint/bin
${failpoint_bin}/failpoint-ctl disable ${test_dir}
